﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace OpenWaves.ActivityFeed.Web.Tests
{
    public partial class TopicPage : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(this.Request["TopicId"]))
            {
                this.af.Visible = false;
            }
            else
            {
                this.af.NewTopics.Add(new Topic(this.Request["TopicId"]));
                this.af.DataBind();
            }
        }
    }
}